import request from '@/utils/request';

export function cottonHomeList(obj) {
  return request({
    url: '/api/spu/tags',
    method: 'post',
    data: obj,
  });
}

export function cottonDetail(obj) {
  return request({
    url: '/api/spu/get',
    method: 'post',
    data: obj,
  });
}

export function getOrderList(obj) {
  return request({
    url: '/api/order/list',
    method: 'post',
    data: obj,
  });
}